<%@ page import="java.util.List" %>
<%@ page import="com.itheima.domain.User" %><%--
  Created by IntelliJ IDEA.
  User: 郑浩
  Date: 2021/1/25
  Time: 15:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ss</title>
</head>
<body>
<%--<%=request.getAttribute("name")%>--%>
<table>
    <%
        List<User> list = (List<User>) request.getAttribute("list");
        for (User user : list) {
    %>
    <tr>
        <td><%=user.getName()%>
        </td>
        <td><%=user.getId()%>
        </td>
    </tr>
    <%
        }
    %>
</table>
</body>
</html>
